tools: hvmloader: split e820 support into its own code module.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 12 Apr 2011 12:36:17 +0000 (13:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 12 Apr 2011 12:36:17 +0000 (13:36 +0100)
commitac7802b59324d3ea194ccc641fe6cca5ab317a6e
tree69a53e1378ba6525070af0ed623299a9ae1bf7a0
parentddff13d94c763321b54cfc2f6f12fc520c7b03c5
tools: hvmloader: split e820 support into its own code module.

Pass the table address as a paramter to the build function and cause
it to return the number of entries. Pass both base and offset as
parameters to the dump function.

This adds a duplicated e820.h header to ROMBIOS. Since the e820 data
structure is well defined by existing BIOS implementations I think
this is OK and simplifies the cross talk between hvmloader and
ROMBIOS.

Reduces the cross talk between ROMBIOS and hvmloader.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
tools/firmware/hvmloader/Makefile
tools/firmware/hvmloader/config.h
tools/firmware/hvmloader/e820.c [new file with mode: 0644]
tools/firmware/hvmloader/e820.h
tools/firmware/hvmloader/hvmloader.c
tools/firmware/hvmloader/smbios.c
tools/firmware/hvmloader/util.c
tools/firmware/hvmloader/util.h
tools/firmware/rombios/32bit/pmm.c
tools/firmware/rombios/config.h
tools/firmware/rombios/e820.h [new file with mode: 0644]